//
//  RouteDetailMessageCell.h
//  Cycling
//
//  Created by 迟国强 on 2023/4/5.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class RouteDetailModel;
typedef void(^CollectionBlock)(RouteDetailModel *model);
typedef void(^GoodBlock)(RouteDetailModel *model);

@interface RouteDetailMessageCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIView *bgView;

@property (nonatomic, strong) RouteDetailModel *model;
@property (weak, nonatomic) IBOutlet UILabel *routeNameL;
@property (weak, nonatomic) IBOutlet UILabel *distanceL;
@property (weak, nonatomic) IBOutlet UIButton *collectionBtn;
@property (weak, nonatomic) IBOutlet UIButton *goodBtn;
@property (weak, nonatomic) IBOutlet UILabel *finshDistanceL;
@property (weak, nonatomic) IBOutlet UILabel *contentL;
@property (nonatomic, copy) CollectionBlock collectionBlock;
@property (nonatomic, copy) GoodBlock goodBlock;
@property (nonatomic, assign) double lat;
@property (nonatomic, assign) double lng;

@end

NS_ASSUME_NONNULL_END
